package cn.wolfcode.crm.service;

import cn.wolfcode.crm.domain.SchoolLinkman;
import cn.wolfcode.crm.query.QueryObject;
import cn.wolfcode.crm.util.PageResult;
import org.apache.poi.hssf.usermodel.HSSFWorkbook;
import org.springframework.web.multipart.MultipartFile;

import java.io.IOException;
import java.util.List;

public interface ISchoolLinkmanService {
    void insert(SchoolLinkman record);

    void updateByPrimaryKey(SchoolLinkman record);

    PageResult query(QueryObject qo);

    SchoolLinkman selectById(Long id);

    HSSFWorkbook exportXls(QueryObject qo);

    List<SchoolLinkman> selectAll();

    void importXls(MultipartFile file) throws IOException;

    void delete(Long id);



    List<SchoolLinkman> selectBySchoolName(Long schoolId);
}
